package com.ahucoding.rocket.common.model;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ahucoding.rocket.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @Description 内容表 模块实体类，负责页面与后台数据传输功能
 * @Author makejava
 * @CreateDate 2025-05-15 14:00:35
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("")
@ApiModel(value = "Post对象", description = "内容表")
public class Post extends BaseEntity implements Serializable {
    /**
     * serialVersionUID
     **/
    private static final long serialVersionUID = 1L;

    /**
     * 标题
     **/
    @ApiModelProperty(value = "标题_java.lang.String")
    private String title;
    /**
     * 名称
     **/
    @ApiModelProperty(value = "名称_java.lang.String")
    private String name;
    /**
     * 链接地址
     **/
    @ApiModelProperty(value = "链接地址_java.lang.String")
    private String url;
    /**
     * 内容
     **/
    @ApiModelProperty(value = "内容_java.lang.String")
    private String content;
    /**
     * 内容总结
     **/
    @ApiModelProperty(value = "内容总结_java.lang.String")
    private String shortContent;
    /**
     * 是否经过评价
     **/
    @ApiModelProperty(value = "是否经过评价_java.lang.Integer")
    private Integer isJudge;
    /**
     * 是否用户定制
     **/
    @ApiModelProperty(value = "是否用户定制_java.lang.Integer")
    private Integer isUserDefine;
    /**
     * 源id
     **/
    @ApiModelProperty(value = "源id_java.lang.Long")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sourceId;
    /**
     * 内容发表时间
     **/
    @ApiModelProperty(value = "内容发表时间_java.lang.String")
    private String contentDate;
    /**
     * 类别id
     **/
    @ApiModelProperty(value = "类别id_java.lang.Long")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long categoryId;
    /**
     * 得分
     **/
    @ApiModelProperty(value = "得分_java.lang.Integer")
    private Integer stars;
    /**
     * 语音文件地址
     **/
    @ApiModelProperty(value = "语音文件地址_java.lang.String")
    private String ttl;
}


